package windows;

import java.awt.Font;

import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.border.TitledBorder;
/**
 * Panel w przyciskiem START w glownym okienku.
 */
class StartPanel extends JPanel{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//Pola aktywne
	JButton startButton;
	JButton stopButton;
	JTextField czasTrwaniaEdit;

	  public StartPanel() {
	  	setBorder(new TitledBorder(null, "START", TitledBorder.LEADING, TitledBorder.TOP, null, null));
	  	setLayout(null);
	  	
	  	startButton = new JButton("START!");
	  	startButton.setFont(new Font("Tahoma", Font.BOLD, 22));
	  	startButton.setBounds(28, 26, 587, 89);
	  	add(startButton);
	  	
	  	stopButton = new JButton("STOP!");
	  	stopButton.setFont(new Font("Tahoma", Font.BOLD, 22));
	  	stopButton.setBounds(28, 26, 551, 89);
	  	stopButton.setVisible(false);
	  	add(stopButton);  	
	  }
}